package display.screens {
	
	import display.screens.faq.FaqScreenContent;
	import display.scrollableWindow.ScrollableWindow;
	
	import flash.display.MovieClip;
	
	import org.ilovecode.mvc.View;
	import org.ilovecode.screen.Screen;
	import org.ilovecode.screen.ScreenName;
	
	/**
	 * Screen displays frequently asked questions to user.
	 * 
	 * @author Vjekoslav Ratkajec
	 */
	public class FaqScreen extends Screen {
		
		//{ region Stage elements
		
		//Content which will be loaded in scrollable window
		private var content:FaqScreenContent;
		//Window to display content
		public var contentWindow:ScrollableWindow;
		
		//} endregion
		
		/**
		 * Create new instance of Faq screen.
		 */
		public function FaqScreen() {
			super(ScreenName.FAQ, "faqScreen");
		}
		
		override protected function construct():void
		{
			super.construct();
			
			content = new FaqScreenContent();
		}
		
		override protected function initUI():void
		{
			super.initUI();
			
			//Setup content in window
			contentWindow.configUI(770, 413);
			contentWindow.setContent(content);
		}
		
	}

}